<nz-layout class="layout">
	<!-- JustFresh 2018-11-28 Begin 引入统一顶部导航 -->
	<app-admin-header></app-admin-header>
	<!-- JustFresh 2018-11-28 End 引入统一顶部导航 -->
	<nz-content class="body" *ngIf="user">
		<!-- JustFresh 2018-11-28 Begin 面包屑导航 -->
		<nz-breadcrumb>
			<nz-breadcrumb-item><a [routerLink]="['/admin/index']" [queryParams]="{module:'index',opt:'index'}">控制台</a></nz-breadcrumb-item>
			<nz-breadcrumb-item><a [routerLink]="['/admin/user/list']" [queryParams]="{module:'index',opt:'user'}">用户管理</a></nz-breadcrumb-item>
			<nz-breadcrumb-item>{{user.nickName}}</nz-breadcrumb-item>
        </nz-breadcrumb>
		<!-- JustFresh 2018-11-28 End 面包屑导航 -->
		<!-- JustFresh 2018-11-28 Begin 页面主体部分 -->
		<nz-layout class="main">
			<!-- JustFresh 2018-11-28 Begin 引入左侧导航菜单 -->
			<nz-sider [nzWidth]="200">
				<app-admin-left-nav class="left-nav"></app-admin-left-nav>
			</nz-sider>
			<!-- JustFresh 2018-11-28 Ends 引入左侧导航菜单 -->
			
			<!-- JustFresh 2018-11-29 Begin 实际当前组件展示部分 -->
			<nz-content class="content">
				<nz-list nzBordered nzSize="large" [nzRenderItem]="item">
					<nz-list-item [nzContent]="item"><b>登录名：</b>{{user.username}}</nz-list-item>
					<nz-list-item [nzContent]="item"><b>昵称：</b>{{user.nickName}}</nz-list-item>
					<nz-list-item [nzContent]="item"><b>联系电话：</b>{{user.userPhone}}</nz-list-item>
					<nz-list-item [nzContent]="item"><b>QQ号：</b>{{user.userQQ}}</nz-list-item>
					<nz-list-item [nzContent]="item"><b>电子邮箱：</b>{{user.userEmail}}</nz-list-item>
					<nz-list-item [nzContent]="item"><b>状态：</b>
						<nz-tag *ngIf="user.status==1" [nzColor]="'#87d068'">启用</nz-tag>
						<nz-tag *ngIf="user.status==0" [nzColor]="'#f50'">禁用</nz-tag>
					</nz-list-item>
					<nz-list-item [nzContent]="item"><b>添加时间：</b>{{user.createTime | date:"yyyy-MM-dd HH:mm"}}</nz-list-item>
					<nz-list-item [nzContent]="item"><b>备注：</b>{{user.description}}</nz-list-item>
				</nz-list>
				<button (click)="goBack()" nz-button="" nztype="default" class="back-btn ant-btn ant-btn-default">
					返回上一步
				</button>
			</nz-content>
			<!-- JustFresh 2018-11-29 End 实际当前组件展示部分 -->
			
		</nz-layout>
		<!-- JustFresh 2018-11-28 End 页面主体部分 -->
		<!-- JustFresh 2018-11-28 Begin 引入统一底部导航 -->
		<app-admin-footer></app-admin-footer>
		<!-- JustFresh 2018-11-28 End 引入统一底部导航 -->
	</nz-content>
</nz-layout>